package com.bangyu.monitor.modular.system.mapper;

import com.bangyu.monitor.modular.system.entity.OriginalData;
import com.bangyu.monitor.modular.system.entity.Payload;
import com.bangyu.monitor.modular.system.entity.PayloadCount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 负重荷载数据(非静态数据) Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2018-12-07
 */
public interface PayloadMapper extends BaseMapper<Payload> {

    public void batchInsert(@Param("batchs") List<Payload> batchs);

    List<PayloadCount> queryCountByPayloadType(@Param("beamNo") String beamNo,@Param("startDate") Integer startDate,@Param("endDate") Integer endDate);

}
